<?php
include_once "dao/RandomizerDAO.php";
$copStory = new RandomizerDAO();

echo "<p>Tonight when you sleep you will dream that you are a detective.   To you there`s nothing spectacular about your profession, you just happen to be very good at ";
echo $copStory->randomDetectiveActivity();
echo ", in fact you have attracted a lot of attention in the way you solve cases, mainly because you`re ";
echo $copStory->randomCondition();
echo " more often than not.</p><p>";
echo $copStory->randomTime();
echo "  You are trying to put yesterday`s incident behind you, trying to forget that you ";
echo $copStory->randomRecentActivity();
echo ".  You intend to redeem yourself just as soon as you finish ";
echo $copStory->randomCurrentActivity();
echo ".  As you set out you remember ";
echo $copStory->randomMemory();
echo ".  You then look for a piece of paper and a pen to write that down because we all know that you will forget.  Trying to keep your mind on the job you look for clues, pieces of the puzzle that will find the culprit.";
//echo $copStory-><scenario>
echo "  You contemplate the possibility that you could ";
echo $copStory->randomFutureActivity();
echo ".  Maybe ";
echo $copStory->randomCurrentActivity();
echo " is not the best way to catch a murderer.  Suddenly, you hear a noise and see ";
echo $copStory->randomView();
echo ".  You think ";
echo $copStory->randomThought();
echo ", maybe you should keep ";
echo $copStory->randomWeapon();
echo " handy just in case something happens.</p><p>";
echo $copStory->randomWeather();
echo ", Oh how you wish you were inside ";
echo ".  Just then a sinister figure emerges holding ";
echo $copStory->randomNoun();
echo " in one hand, but in the other hand he has ";
$hisWeapon = $copStory->randomWeapon();
echo $hisWeapon;
echo ".  He starts screaming that he is not afraid to use it and that you better do what he says.";
echo "  Luckily you have ";
echo $copStory->randomWeapon();
echo " which trumps ";
echo $hisWeapon;
echo ".  Thinking quickly you point at ";
echo $copStory->randomNoun();
echo ' and shout "LOOK!, ';
echo $copStory->randomNoun();
echo '".  The guy must not be very bright because he is looking at ';
echo $copStory->randomView();
echo "  Just like in first person shooter games, you see a better weapon on the ground and use it to kill the enemy.</p>";
echo "<p>Although you have broken all the rules and would normally go to jail yourself, you are thankful that you can do anything you want in a dream.</p>";
//echo <name>
echo ".";

?>